//
//  YJAlertView.h
//  CToolBox
//
//  Created by crj on 2016/11/16.
//  Copyright © 2016年 oyf. All rights reserved.
//

#import <UIKit/UIKit.h>
@class YJAlertView;

@protocol YJAlertViewDelegate <NSObject>

- (void)alertSelectWithAlert:(YJAlertView *)alert indext:(NSInteger)indext;

@end

@interface YJAlertView : UIControl

@property (nonatomic, weak) id<YJAlertViewDelegate> delegate;

+ (YJAlertView *)showAlertWithTitle:(NSString *)title message:(NSString *)message buttonTitles:(NSArray *)buttonTitles;


@end
